package config

type ServerConfig struct {
	ServerName     string
	IP             string
	Port           int
	MysqlConfig    MysqlConfig
	LogConfig      LogConfig
	ConsulConfig   ConsulConfig
	Nacos          Nacos
	RocketMqConfig RocketMqConfig
}
type RocketMqConfig struct {
	Host  string
	Port  int
	Topic string
	Group string
}
type MysqlConfig struct {
	User     string
	Password string
	Host     string
	Port     string
	DbName   string
}
type LogConfig struct {
	Path string
}

type ConsulConfig struct {
	ConsulHost string
	ConsulPort int
	Tags       []string
}
type Nacos struct {
	ServerAddr      string
	ServerPort      int
	ServerGroupPort int
	Namespce        string
	DataId          string
	Group           string
	LogDir          string
	CacheDir        string
	LogLevel        string
}
